﻿using SHZY.Common.Const;
using SHZY.Common.Contracts;
using SqlSugar;

namespace SHZY.Business.Entitys.Entity
{
    /// <summary>
    /// 质量申诉实体.
    /// </summary>
    [SugarTable("qms_busi_customer_appeal", "质量申诉")]
    [Tenant(ClaimConst.TENANTID)]
    public class QmsBusiCustomerAppealEntity : CLDEntityBase
    {
        /// <summary>
        /// Guid.
        /// </summary>
        //[SugarColumn(ColumnName = "F_Id", ColumnDescription = "Guid", IsPrimaryKey = true)]
        //public string Id { get; set; }

        /// <summary>
        /// 主Guid.
        /// </summary>
        [SugarColumn(ColumnName = "F_CustomerId", ColumnDescription = "主Guid")]
        public string CustomerId { get; set; }

        /// <summary>
        /// 申诉部门.
        /// </summary>
        [SugarColumn(ColumnName = "F_AppeaDepartId", ColumnDescription = "申诉部门")]
        public string AppeaDepartId { get; set; }

        /// <summary>
        /// 申诉人.
        /// </summary>
        [SugarColumn(ColumnName = "F_AppealUserId", ColumnDescription = "申诉人")]
        public string AppealUserId { get; set; }

        /// <summary>
        /// 申诉日期.
        /// </summary>
        [SugarColumn(ColumnName = "F_AppeaDate", ColumnDescription = "申诉日期")]
        public DateTime? AppeaDate { get; set; }

        /// <summary>
        /// 申诉单号.
        /// </summary>
        [SugarColumn(ColumnName = "F_AppeaNo", ColumnDescription = "申诉单号")]
        public string AppeaNo { get; set; }

        /// <summary>
        /// 项目名称.
        /// </summary>
        [SugarColumn(ColumnName = "F_ProjectName", ColumnDescription = "项目名称")]
        public string ProjectName { get; set; }

        /// <summary>
        /// 项目名称.
        /// </summary>
        [SugarColumn(ColumnName = "F_ProjectNameTwo", ColumnDescription = "项目名称")]
        public string ProjectNameTwo { get; set; }

        /// <summary>
        /// 物料号.
        /// </summary>
        [SugarColumn(ColumnName = "F_MaterialNo", ColumnDescription = "物料号")]
        public string MaterialNo { get; set; }

        /// <summary>
        /// 物料名称.
        /// </summary>
        [SugarColumn(ColumnName = "F_MaterialName", ColumnDescription = "物料名称")]
        public string MaterialName { get; set; }

        /// <summary>
        /// 数量.
        /// </summary>
        [SugarColumn(ColumnName = "F_Qty", ColumnDescription = "数量")]
        public int? Qty { get; set; }

        /// <summary>
        /// 审核人.
        /// </summary>
        [SugarColumn(ColumnName = "F_CheckedUserId", ColumnDescription = "审核人")]
        public string CheckedUserId { get; set; }

        /// <summary>
        /// 问题描述.
        /// </summary>
        [SugarColumn(ColumnName = "F_ProblemDescription", ColumnDescription = "问题描述")]
        public string ProblemDescription { get; set; }

        /// <summary>
        /// 申诉内容.
        /// </summary>
        [SugarColumn(ColumnName = "F_AppealDescription", ColumnDescription = "申诉内容")]
        public string AppealDescription { get; set; }

        /// <summary>
        /// 举证材料.
        /// </summary>
        [SugarColumn(ColumnName = "F_ProofMaterials", ColumnDescription = "举证材料")]
        public string ProofMaterials { get; set; }

        /// <summary>
        /// 备注内容.
        /// </summary>
        [SugarColumn(ColumnName = "F_Remark", ColumnDescription = "备注内容")]
        public string Remark { get; set; }

        /// <summary>
        /// .
        /// </summary>
        [SugarColumn(ColumnName = "F_Status", ColumnDescription = "")]
        public int? Status { get; set; }

        /// <summary>
        /// 有效标志0无效 1有效.
        /// </summary>
        [SugarColumn(ColumnName = "F_EnabledMark", ColumnDescription = "有效标志0无效 1有效")]
        public int? EnabledMark { get; set; }
    }
}
